import request from '@/utils/request'
// 专栏列表
export function list(data) {
  return request({
    url: `/caizhan.php/column/column/list?page=${data.page}&size=${data.size}&pay_time=${data.pay_time}`,
    method: 'get'
  })
}

// 数据面板
export function indexv2(data) {
  return request({
    url: '/caizhan.php/dashboard/indexv2',
    method: 'get',
    data
  })
}

// 专栏列表查询
export function days(data) {
  return request({
    url: `/caizhan.php/column/column/days?pay_time=${data.pay_time}&column_ids=${data.column_ids}&type=${data.type}`,
    method: 'get'
  })
}

// 订单推送
export function getBuyOrderList(data) {
  return request({
    url: `/caizhan.php/dashboard/getBuyOrderList`,
    method: 'get'
  })
}
